/*

Here's a demo stylesheet used to format a menu and its content.
Feel free to alter the menu layout however you want!
All you have to do is ensure the script has the correct CSS property name
(like 'visibility' or 'display') that changes to show/hide menus.

If you want to extend this layout, one good resource for UL/LI formatting is:
    http://www.alistapart.com/articles/taminglists/
Alternatively, you can use any other CSS dropdown layout instead. More here:
    http://www.alvit.de/css-showcase/
Consult your favourite CSS reference for customising fonts/borders/etc.

Otherwise, you can just change the #RGB border/background colours where
suitable to customise for your site -- easy :).

*/



/* VERTICAL FREESTYLE MENU LAYOUT */


/* All <ul> tags in the menu including the first level */
.menulistv {
 margin: 1px;
 padding: 0;
 width: 165px;
 list-style: none;
}
.menulistv ul {
 margin: 0;
 padding: 0;
 width: 180px;
 list-style: none;
}

/*
 Submenus (<ul> tags) are hidden and absolutely positioned across from their parent.
 They don't *have* to touch their parent menus, but is' a good idea as CSS-only fallback
 mode requires menus to touch/overlap (when JS is disabled in the browser).
*/
.menulistv ul {
 display: none;
 position: absolute;
 top: 0px;
 left: 168px;
}
.menulistv ul ul {
 display: none;
 position: absolute;
 top: 0px;
 left: 181px;
}
/*
 All menu items (<li> tags) are relatively positioned to correctly offset their submenus.
 They have borders that are slightly overlaid on one another to avoid doubling up.
*/
.menulistv li {
    position: relative;
    padding:0px;
    margin:0px;
    border-top: 1px #ece5c7 solid;
    border-left: 10px #4a2c16 solid;
    background:#e8d598;
}

.menulistv li ul li {
	margin:0px;
    padding:0px;
    color:#000;
	font-size: 12px;
	font-weight: normal;
	text-decoration: none;
	background: #fff;
    border:0px;
}
.menulistv ul>li:last-child {
 margin-bottom: 1px; /* Mozilla fix */
}

/* Links inside the menu */
.menulistv a {
 display: block;
    text-decoration:none;
    color:#4a2c16;
    font-weight:bold;
    font-size:12px;
    padding:5px 5px 5px 5px
}
.menulistv li ul li a {
	display: block;
    margin:0px;
    padding:5px 5px 5px 15px;
    color:#fff;
    background:#7b6a56;
	font-size: 11px;
	font-weight: bold;
	text-decoration: none;
    border-bottom:1px #4a2c16 solid;

}
/*
 Lit items: 'hover' is mouseover, 'highlighted' are parent items to visible menus.
*/
.menulistv a:hover, .menulistv a.highlighted:hover, .menulistv a:focus {
    color:#fff;
    background:#7b6a56;
}
.menulistv a.highlighted {
    color:#fff;
    background:#7b6a56;
}
.menulistv li ul li a:hover, .menulistv li ul li a.highlighted:hover, .menulistv li ul li a:focus {
    color:#4a2c16;
    background:#ece5c7;
}
.menulistv li ul li a.highlighted {
    color:#4a2c16;
    background:#ece5c7;
}
/*
 If you want per-item background images in your menu items, here's how to do it.
 1) Assign a unique ID tag to each link in your menu, like so: <a id="xyz" href="#">
 2) Copy and paste these next lines for each link you want to have an image:
    .menulistv a#xyz {
      background-image: url(out.gif);
    }
    .menulistv a#xyz:hover, .menulistv a.highlighted#xyz, .menulistv a:focus {
     background-image: url(over.gif);
    }
*/


/* 'subind' submenu indicators, which are automatically prepended to 'A' tag contents. */
.menulistv a .subind {
 float: right;
}

/*
 HACKS: IE/Win:
 A small height on <li> and <a> tags and floating prevents gaps in menu.
 * html affects <=IE6 and *:first-child+html affects IE7.
 You may want to move these to browser-specific style sheets.
\*/
*:first-child+html .menulistv li {
 float: left;
 width: 100%;
}

* html .menulistv li {
 float: left;
 height: 1%;
}
* html .menulistv a {
 height: 1%;
}
/* End Hacks */
